package com.teamall.web.fpgz.db.dao.mapper;

import com.teamall.web.fpgz.db.arg.CodeVillageTeamMemberArg;
import com.teamall.web.fpgz.db.po.CodeVillageTeamMemberPO;

import java.math.*;
import java.util.*;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface ICodeVillageTeamMemberMapper {
    
    List<Integer> countByArg(CodeVillageTeamMemberArg arg);

    List<CodeVillageTeamMemberPO> selectByArg(CodeVillageTeamMemberArg arg);

    CodeVillageTeamMemberPO selectByPrimaryKey(Integer id);

    List<CodeVillageTeamMemberPO> selectByArgAndPage(CodeVillageTeamMemberArg arg, RowBounds rowBound);

    int insert(CodeVillageTeamMemberPO record);

    int insertSelective(CodeVillageTeamMemberPO record);

    int insertBatch(@Param("list") List<CodeVillageTeamMemberPO> records);

    int updateByArgSelective(@Param("record") CodeVillageTeamMemberPO record,
            @Param("arg") CodeVillageTeamMemberArg arg);

    int updateByArg(@Param("record") CodeVillageTeamMemberPO record,
            @Param("arg") CodeVillageTeamMemberArg arg);

    int updateByPrimaryKeySelective(CodeVillageTeamMemberPO record);

    int updateByPrimaryKey(CodeVillageTeamMemberPO record);
    
    int deleteByArg(CodeVillageTeamMemberArg arg);
    
    int deleteByPrimaryKey(Integer id);
    
}